package com.ruoyi.system.domain.user;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 会员规则对象 vs_user_rule
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsUserRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 父ID */
    @Excel(name = "父ID")
    private Long pid;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 是否菜单 */
    @Excel(name = "是否菜单")
    private Integer ismenu;

    /** 权重 */
    @Excel(name = "权重")
    private Long weigh;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private Long createtime;

    private Long updatetime;

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIsmenu(Integer ismenu) 
    {
        this.ismenu = ismenu;
    }

    public Integer getIsmenu() 
    {
        return ismenu;
    }
    public void setWeigh(Long weigh) 
    {
        this.weigh = weigh;
    }

    public Long getWeigh() 
    {
        return weigh;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("name", getName())
            .append("title", getTitle())
            .append("remark", getRemark())
            .append("ismenu", getIsmenu())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("weigh", getWeigh())
            .append("status", getStatus())
            .toString();
    }
}
